package com.imooc.security.core.properties;


import org.springframework.stereotype.Component;

/**
 * @author liaofuxing
 * @date 2019/03/12 12:24
 * @E-mail liaofuxing@outlook.com
 */
@Component
public class BrowserProperties {

    private String loginPage = "/imooc-login.html";

    private LoginTypeEnums loginType = LoginTypeEnums.JSON;

    private String signUpUrl = "/signUpUrl.html";

    private int rememberMeSeconds = 3600;

    public String getLoginPage() {
        return loginPage;
    }

    public void setLoginPage(String loginPage) {
        this.loginPage = loginPage;
    }

    public LoginTypeEnums getLoginType() {
        return loginType;
    }

    public void setLoginType(LoginTypeEnums loginType) {
        this.loginType = loginType;
    }

    public String getSignUpUrl() {
        return signUpUrl;
    }

    public int getRememberMeSeconds() {
        return rememberMeSeconds;
    }

    public void setRememberMeSeconds(int rememberMeSeconds) {
        this.rememberMeSeconds = rememberMeSeconds;
    }

    public void setSignUpUrl(String signUpUrl) {
        this.signUpUrl = signUpUrl;
    }
}
